package com.zjsd.sqeybusiness.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 代理商信息对象 agency_info
 *
 * @author Zheng
 * @date 2020-11-05
 */
public class AgencyInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 代理商ID */
    private Long agencyId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String agencyName;

    /** 老板姓名 */
    @Excel(name = "老板姓名")
    private String name;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    public void setAgencyId(Long agencyId)
    {
        this.agencyId = agencyId;
    }

    public Long getAgencyId()
    {
        return agencyId;
    }
    public void setAgencyName(String agencyName)
    {
        this.agencyName = agencyName;
    }

    public String getAgencyName()
    {
        return agencyName;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("agencyId", getAgencyId())
            .append("agencyName", getAgencyName())
            .append("name", getName())
            .append("phone", getPhone())
            .toString();
    }
}
